hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
IHipTimer
hip
api
systems
timer
Undocumented in source.
interface
IHipTimer {
string
getName
();
float
getDuration
();
float
getProgress
();
bool
hasFinished
();
IHipTimer
addHandler
(void delegate() handler);
IHipTimer
addHandler
(void delegate(float progress) handler);
IHipTimer
addHandler
(HipTimerCallback handler);
void
forceFinish
();
void
stop
();
void
pause
();
IHipTimer
play
();
void
reset
();
void
loopRestart
();
bool
tick
(float deltaTime);
}
Members
Functions
addHandler
IHipTimer
addHandler
(void delegate() handler)
Undocumented in source.
addHandler
IHipTimer
addHandler
(void delegate(float progress) handler)
Undocumented in source.
addHandler
IHipTimer
addHandler
(HipTimerCallback handler)
Undocumented in source.
forceFinish
void
forceFinish
()
Undocumented in source.
getDuration
float
getDuration
()
Undocumented in source.
getName
string
getName
()
Undocumented in source.
getProgress
float
getProgress
()
Undocumented in source.
hasFinished
bool
hasFinished
()
Undocumented in source. Be warned that the author may not have intended to support it.
loopRestart
void
loopRestart
()
Undocumented in source.
pause
void
pause
()
Undocumented in source.
play
IHipTimer
play
()
Remember to call "play" for setting it up to tick
reset
void
reset
()
Undocumented in source.
stop
void
stop
()
Undocumented in source.
tick
bool
tick
(float deltaTime)
Returns wether it has finished
Meta
Source
See Implementation
hip
api
systems
timer
aliases
HipTimerCallback
enums
HipTimerType
interfaces
IHipFiniteTask
IHipTimer
IHipTimerList